package com.acsior.hibernate.vo;

// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.acsior.dac.impl.hibernate.vo.GeneratorKey;
import com.acsior.ddfn.impl.hibernate.vo.NomElementVO;

/**
 * NomCashBoxMoneyType entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "nom_cash_box_money_types", uniqueConstraints = @UniqueConstraint(columnNames = "system_name"))
@GeneratorKey(tableName = "nom_cash_box_money_types")
public class NomCashBoxMoneyTypeVO extends NomElementVO {

	/** */
	private static final long serialVersionUID = 1184935085022005601L;

	// Fields
	@Column(name = "activity", nullable = false)
	private boolean activity;

	@Column(name = "is_coin", nullable = false)
	private boolean isCoin;

	@Column(name = "is_generic", nullable = false)
	private boolean isGeneric;

	@Column(name = "value", precision = 10)
	private Double value;

	// Constructors

	/** default constructor */
	public NomCashBoxMoneyTypeVO() {
		super();
	}

	
	/**
	 * @return стойността на activity
	 */
	public boolean isActivity() {
		return this.activity;
	}

	
	/**
	 * @param activity се залага в activity
	 */
	public void setActivity(boolean activity) {
		this.activity = activity;
	}

	
	/**
	 * @return стойността на isCoin
	 */
	public boolean isCoin() {
		return this.isCoin;
	}

	
	/**
	 * @param isCoin се залага в isCoin
	 */
	public void setCoin(boolean isCoin) {
		this.isCoin = isCoin;
	}

	
	/**
	 * @return стойността на isGeneric
	 */
	public boolean isGeneric() {
		return this.isGeneric;
	}

	
	/**
	 * @param isGeneric се залага в isGeneric
	 */
	public void setGeneric(boolean isGeneric) {
		this.isGeneric = isGeneric;
	}

	
	/**
	 * @return стойността на value
	 */
	public Double getValue() {
		return this.value;
	}

	
	/**
	 * @param value се залага в value
	 */
	public void setValue(Double value) {
		this.value = value;
	}
}